//
//  EncryptionAndDecryption.h
//  iOSInterview
//
//  Created by macbook on 2025/5/30.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface EncryptionAndDecryption : NSObject

+ (instancetype)sharedInstance;

- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
- (id)copy NS_UNAVAILABLE;

- (void)requestWithParameters:(NSDictionary *)parameters;
- (NSString *)encryptAES:(NSString *)originalString secretKey:(NSString *)key iv:(NSString *)iv;
- (NSString *)decryptAES:(NSString *)encryptedString secretKey:(NSString *)key iv:(NSString *)iv;

@end

NS_ASSUME_NONNULL_END
